package com.goldcn.picture.dao;

import com.goldcn.picture.dto.QueryPicTagDto;
import com.goldcn.picture.model.PicSysTags;
import com.goldcn.picture.model.PicSysTagsItem;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PicSysTagsMapper {
    int deleteByPrimaryKey(Long tagid);

    int insert(PicSysTags record);

    int insertSelective(PicSysTags record);

    PicSysTags selectByPrimaryKey(Long tagid);

    int updateByPrimaryKeySelective(PicSysTags record);

    int updateByPrimaryKey(PicSysTags record);

    int tagUseCount(Long tagid);

    List<PicSysTags> selectAllTags(QueryPicTagDto queryPicTagDto);


}
